<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
int i = 0;

%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'register.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css"> 
		div{ width:35%;margin-left:32%;} 
	</style> 
  </head>
  
<body > 
<div> 
<form class="f1" action="./ch09/registerDo.jsp" method="post" > 
<fieldset > 
<legend>注册 快速注册</legend> 
<table width=100% > 
<tbody> 
<tr ><td class=“left” width=40% align="right"><label for="t1">用 户 名：</label></td> 
<td class="right"><input type="text" id="userId" name="userId"></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="Password1">密 码：</label></td> 
<td class="right"><input id="password1" type="password" name="password1" /></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="Password2">重 复 密 码：</label></td> 
<td class="right"><input id="password2" type="password" name="password2" /></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="e1">邮 箱：</label></td> 
<td class="right"><input type="email" id="e1" name="youxiang" ></td> 
</tr> 
<tr><td class=“left” width=40% align="right"></td> 
<td class="right"><input type="checkbox" id="protocol" name="xieyi" ><label for="protocol">我已阅读并同意服务条款</label></td> 
</tr> 
 
<tr><td class=“left” width=40% align="right"> <input id="Submit1" type="submit" value="注 册" /> </td> 
<td> <input id="Reset1" type="reset" value="重 置" /> </td> 
</tr> 
</tbody> 
</table> 
</fieldset> 
</form> 
</div> 
</body> 
</html>
<!-- 
jsp作业
wordpress项目
正则
比赛项目

 -->
